package com.reesechou.service;

import com.reesechou.javabean.Article;

import java.util.List;

/**
 * Created by 小星打屁屁 on 2015/3/25.
 * contact me ==>243709758@qq.com
 */
public interface ArticleService {
    public int insert(Article entity);
    public boolean delete(Article entity);
    public boolean deleteAllPage();
    public Article queryById(int id);
    public boolean update(Article entity);
    public List<Article> findPage();
    public List<Article> getAllArticle();
    public List<Article> findNavMenuItem();
    public List<Article> findNewestArticle();
    public List<Article> findByFuzzyName(String key);
}
